/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testes;

import java.awt.AWTException;
import java.awt.Robot;

/**
 *
 * @author -----
 */
public class Killmouse {
    
    public static void main(String[] args) throws AWTException {
        
        try {
            Robot robot = new Robot();
            while (true) {
                robot.mouseMove(100, 100);
                robot.mouseMove(100, 100);
                robot.keyPress(27);
            }
        } catch (AWTException e) {
            System.out.println(e);
        }
    }
}
